package com.ds.dsfans.liteflow.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ds.dsfans.common.annotation.Excel;
import com.ds.dsfans.common.core.domain.BaseEntity;

/**
 * 规则引擎script对象 liteflow_script
 * 
 * @author dsfans
 * @date 2024-07-15
 */
public class LiteflowScript extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 应用名称 */
    @Excel(name = "应用名称")
    private String applicationName;

    /** 脚本ID */
    @Excel(name = "脚本ID")
    private String scriptId;

    /** 脚本名称 */
    @Excel(name = "脚本名称")
    private String scriptName;

    /** 脚本数据 */
    @Excel(name = "脚本数据")
    private String scriptData;

    /** 脚本类型 */
    @Excel(name = "脚本类型")
    private String scriptType;

    /** 脚本语言 */
    @Excel(name = "脚本语言")
    private String language;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Integer enable;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setApplicationName(String applicationName) 
    {
        this.applicationName = applicationName;
    }

    public String getApplicationName() 
    {
        return applicationName;
    }

    public void setScriptId(String scriptId) 
    {
        this.scriptId = scriptId;
    }

    public String getScriptId() 
    {
        return scriptId;
    }

    public void setScriptName(String scriptName) 
    {
        this.scriptName = scriptName;
    }

    public String getScriptName() 
    {
        return scriptName;
    }

    public void setScriptData(String scriptData) 
    {
        this.scriptData = scriptData;
    }

    public String getScriptData() 
    {
        return scriptData;
    }

    public void setScriptType(String scriptType) 
    {
        this.scriptType = scriptType;
    }

    public String getScriptType() 
    {
        return scriptType;
    }

    public void setLanguage(String language) 
    {
        this.language = language;
    }

    public String getLanguage() 
    {
        return language;
    }

    public void setEnable(Integer enable) 
    {
        this.enable = enable;
    }

    public Integer getEnable() 
    {
        return enable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applicationName", getApplicationName())
            .append("scriptId", getScriptId())
            .append("scriptName", getScriptName())
            .append("scriptData", getScriptData())
            .append("scriptType", getScriptType())
            .append("language", getLanguage())
            .append("enable", getEnable())
            .toString();
    }
}
